//
//  TimePickView.h
//  WashCar
//
//  Created by 就是这么自信 on 16/4/8.
//  Copyright © 2016年 张越. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface TimePickView : UIView<UIPickerViewDataSource,UIPickerViewDelegate,UIPickerViewAccessibilityDelegate>
{
    NSString *year;
    NSString *month;
    NSString *day;
    NSString *time;
    NSString *branch;
    NSString *status;
}

@property (nonatomic,strong) UIView *backImageView;
@property (nonatomic, copy) dispatch_block_t  sureBlock;
@property (nonatomic, copy) dispatch_block_t cancelBlock;
@property (nonatomic, copy) void(^ReturnStringBlock)(NSString * year ,NSString *moteh,NSString *day, NSString *time,NSString *branch,NSString *status);

@property (weak, nonatomic) IBOutlet UIPickerView *startPickView;
@property (weak, nonatomic) IBOutlet UIView *starBackView;
@property (weak, nonatomic) IBOutlet UIView *TimeBackView;
@property (weak, nonatomic) IBOutlet UIPickerView *TimePickView;

@property(nonatomic,strong) NSMutableArray *yearArray;
@property(nonatomic,strong) NSMutableArray *motehArray;
@property(nonatomic,strong) NSMutableArray *dateArray;

@property(nonatomic,strong)NSMutableArray *timeAyy;
@property (nonatomic,strong)NSMutableArray *branchArray;
@property(nonatomic,strong)NSMutableArray *statusArray;

+(TimePickView *)instancePickView;
-(void)show;
-(void)configWithLayers;

@end
